<?php
using("model/Bbslist");
$id=$urlparams['_p0'];
$type=I('type');
if(empty($id)){
    XModel::Index();
}else{
    Bbslist::GetCateView($id,$type,XModel::Get("page"));
}
?>